Optimal. Leaf size=85 \[ \frac{b x \left (a+b \sinh ^{-1}(c x)\right )}{c d^2 \sqrt{c^2 x^2+1}}-\frac{\left (a+b \sinh ^{-1}(c x)\right )^2}{2 c^2 d^2 \left (c^2 x^2+1\right )}-\frac{b^2 \log \left (c^2 x^2+1\right )}{2 c^2 d^2} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.106848, antiderivative size = 85, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 24, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.125, Rules used = {5717, 5687, 260} \[ \frac{b x \left (a+b \sinh ^{-1}(c x)\right )}{c d^2 \sqrt{c^2 x^2+1}}-\frac{\left (a+b \sinh ^{-1}(c x)\right )^2}{2 c^2 d^2 \left (c^2 x^2+1\right )}-\frac{b^2 \log \left (c^2 x^2+1\right )}{2 c^2 d^2} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 5717
Rule 5687
Rule 260
Rubi steps
\begin{align*} \int \frac{x \left (a+b \sinh ^{-1}(c x)\right )^2}{\left (d+c^2 d x^2\right )^2} \, dx &=-\frac{\left (a+b \sinh ^{-1}(c x)\right )^2}{2 c^2 d^2 \left (1+c^2 x^2\right )}+\frac{b \int \frac{a+b \sinh ^{-1}(c x)}{\left (1+c^2 x^2\right )^{3/2}} \, dx}{c d^2}\\ &=\frac{b x \left (a+b \sinh ^{-1}(c x)\right )}{c d^2 \sqrt{1+c^2 x^2}}-\frac{\left (a+b \sinh ^{-1}(c x)\right )^2}{2 c^2 d^2 \left (1+c^2 x^2\right )}-\frac{b^2 \int \frac{x}{1+c^2 x^2} \, dx}{d^2}\\ &=\frac{b x \left (a+b \sinh ^{-1}(c x)\right )}{c d^2 \sqrt{1+c^2 x^2}}-\frac{\left (a+b \sinh ^{-1}(c x)\right )^2}{2 c^2 d^2 \left (1+c^2 x^2\right )}-\frac{b^2 \log \left (1+c^2 x^2\right )}{2 c^2 d^2}\\ \end{align*}
Mathematica [A] time = 0.218641, size = 145, normalized size = 1.71 \[ -\frac{a^2}{2 c^2 d^2 \left (c^2 x^2+1\right )}+\frac{a b x}{c d^2 \sqrt{c^2 x^2+1}}+\frac{b \sinh ^{-1}(c x) \left (b c x \sqrt{c^2 x^2+1}-a\right )}{c^2 d^2 \left (c^2 x^2+1\right )}-\frac{b^2 \log \left (c^2 x^2+1\right )}{2 c^2 d^2}-\frac{b^2 \sinh ^{-1}(c x)^2}{2 c^2 d^2 \left (c^2 x^2+1\right )} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.063, size = 222, normalized size = 2.6 \begin{align*} -{\frac{{a}^{2}}{2\,{c}^{2}{d}^{2} \left ({c}^{2}{x}^{2}+1 \right ) }}+2\,{\frac{{b}^{2}{\it Arcsinh} \left ( cx \right ) }{{c}^{2}{d}^{2}}}+{\frac{{b}^{2}{\it Arcsinh} \left ( cx \right ) x}{c{d}^{2}}{\frac{1}{\sqrt{{c}^{2}{x}^{2}+1}}}}-{\frac{{b}^{2}{\it Arcsinh} \left ( cx \right ){x}^{2}}{{d}^{2} \left ({c}^{2}{x}^{2}+1 \right ) }}-{\frac{{b}^{2} \left ({\it Arcsinh} \left ( cx \right ) \right ) ^{2}}{2\,{c}^{2}{d}^{2} \left ({c}^{2}{x}^{2}+1 \right ) }}-{\frac{{b}^{2}{\it Arcsinh} \left ( cx \right ) }{{c}^{2}{d}^{2} \left ({c}^{2}{x}^{2}+1 \right ) }}-{\frac{{b}^{2}}{{c}^{2}{d}^{2}}\ln \left ( 1+ \left ( cx+\sqrt{{c}^{2}{x}^{2}+1} \right ) ^{2} \right ) }-{\frac{ab{\it Arcsinh} \left ( cx \right ) }{{c}^{2}{d}^{2} \left ({c}^{2}{x}^{2}+1 \right ) }}+{\frac{abx}{c{d}^{2}}{\frac{1}{\sqrt{{c}^{2}{x}^{2}+1}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} -\frac{b^{2} \log \left (c x + \sqrt{c^{2} x^{2} + 1}\right )^{2}}{2 \,{\left (c^{4} d^{2} x^{2} + c^{2} d^{2}\right )}} - \frac{a^{2}}{2 \,{\left (c^{4} d^{2} x^{2} + c^{2} d^{2}\right )}} + \int \frac{{\left ({\left (2 \, a b c^{2} + b^{2} c^{2}\right )} x^{2} + \sqrt{c^{2} x^{2} + 1}{\left (2 \, a b c + b^{2} c\right )} x + b^{2}\right )} \log \left (c x + \sqrt{c^{2} x^{2} + 1}\right )}{c^{6} d^{2} x^{5} + 2 \, c^{4} d^{2} x^{3} + c^{2} d^{2} x +{\left (c^{5} d^{2} x^{4} + 2 \, c^{3} d^{2} x^{2} + c d^{2}\right )} \sqrt{c^{2} x^{2} + 1}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 2.6841, size = 397, normalized size = 4.67 \begin{align*} \frac{2 \, a b c^{2} x^{2} + 2 \, \sqrt{c^{2} x^{2} + 1} a b c x - b^{2} \log \left (c x + \sqrt{c^{2} x^{2} + 1}\right )^{2} - a^{2} + 2 \, a b -{\left (b^{2} c^{2} x^{2} + b^{2}\right )} \log \left (c^{2} x^{2} + 1\right ) + 2 \,{\left (a b c^{2} x^{2} + \sqrt{c^{2} x^{2} + 1} b^{2} c x\right )} \log \left (c x + \sqrt{c^{2} x^{2} + 1}\right ) + 2 \,{\left (a b c^{2} x^{2} + a b\right )} \log \left (-c x + \sqrt{c^{2} x^{2} + 1}\right )}{2 \,{\left (c^{4} d^{2} x^{2} + c^{2} d^{2}\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \frac{\int \frac{a^{2} x}{c^{4} x^{4} + 2 c^{2} x^{2} + 1}\, dx + \int \frac{b^{2} x \operatorname{asinh}^{2}{\left (c x \right )}}{c^{4} x^{4} + 2 c^{2} x^{2} + 1}\, dx + \int \frac{2 a b x \operatorname{asinh}{\left (c x \right )}}{c^{4} x^{4} + 2 c^{2} x^{2} + 1}\, dx}{d^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (b \operatorname{arsinh}\left (c x\right ) + a\right )}^{2} x}{{\left (c^{2} d x^{2} + d\right )}^{2}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]